﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FrasesSimpsonsMvc.Controllers
{
    public static class StringExtensions
    {

        public static string ToPublicUrl(this string url)
        {
            if (!url.StartsWith("http"))
                return "http://" + url;
            else
                return url;
        }
    }
}